# Base template of G-Code UI for ctrlX G-Code Runtime App
  This is an base template UI for implement G code commands of ctrlX AUTOMATION(https://www.ctrlx-automation.com). 

# General Terms of Use
  In order to download and use the template of G-Code UI you have to accept the [Terms and Conditions for the Provision of Products of Bosch Rexroth AG Free of Charge](https://dc-corp.resource.bosch.com/media/xc/homepage/TC_for_provision_of_products_free_of_charge.pdf)

# Structure description     
  The G-Code UI Template includes:  
    - PLC package: Bosch Rexroth AG GCode ****.package 
    - Node-RED template flows (one of them should be used): 
      GCode_UI_****.json without motion configuration
      GCode_UI_****.zip template flows with motion configuration
  
# How to use G-Code UI of ctrlX
  https://developer.community.boschrexroth.com/t5/Store-and-How-to/How-to-use-G-Code-UI-of-ctrlX/ba-p/80655    

# Note: 
  - For plc task configuration: Only "MainTaskMotif/AxisKinIfPlcProg" and "MainTaskUI/prMainProgram" are required, the others can be removed voluntarily.

# About
  Copyright © 2022 Bosch Rexroth AG. All rights reserved.

# Modifications
-------------------------------------------------------------------------------------------------------------------
  Version : 2.4.0
  Date    : 2023-12-05
  Comment : The first publish version 
-------------------------------------------------------------------------------------------------------------------
  Version : 2.6.0
  Date    : 2024-2-01
  Comment : Improve the display mode of PCS and ACS. (only for Node-RED) 
-------------------------------------------------------------------------------------------------------------------
  Version : 2.6.1
  Date    : 2024-3-22
  Comment : Modify the output parameter "PLCOpenState" from MC_AXIS_PLCOPEN_STATE to UINT (PLC)
-------------------------------------------------------------------------------------------------------------------
  Version : 2.6.3
  Date    : 2024-3-26
  Comment : - Raname the "MainTask" which call the UI program as "MainTaskUI" 
            - Reduce cycle time from 200ms to 20ms for "MainTaskUI" 
	    - Modify the type of "ST_AxisOutput.PLCOpenState" from MC_AXIS_PLCOPEN_STATE(ENUM) to UINT (Relate BUG 811842)
            - Expand the numbers of display axes from 4 to 7
            - Modify "MC_AXIS_PLCOPEN_STATE.DISABLEED" TO "MC_AXIS_PLCOPEN_STATE.DISABLED" ((Relate BUG 814620 )
            - Bugfix: for the first time to activation, if no valid kinematics name input, there will get an error 
              =>If kinematics valid,default operator mode, if no kinematics invalid, default mode if cofigurating(PLC and Node-RED) 
            - Add output value for ST_Output.GroupedAxisLlist.IpoPos. (ST_Output.GroupedAxisLlist.TargetPos is reserved port)(PLC)
-------------------------------------------------------------------------------------------------------------------

